﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Text;
using DefenseQuestion.Domain;

namespace DefenseQuestion
{    /// <summary>
     /// 出题表
     /// </summary>
    [Table("Exam")]
    public class Exam : Audit
    {
        /// <summary>
        /// 出题Id
        /// </summary>
        [Key]
        public int ExamId { get; set; }
        /// <summary>
        /// 题目Id
        /// </summary>
        public int QuestionId { get; set; }
        /// <summary>
        /// 技术分类Id
        /// </summary>
        public int TechTypeId { get; set; }
        /// <summary>
        /// 题型分类表Id
        /// </summary>
        public int QuestionTypeId { get; set; }
        /// <summary>
        ///班级Id
        /// </summary>
        public int GradeId { get; set; }
    }
}